package com.gfwy.dao;

import java.util.List;

import com.gfwy.vo.Chapter;

public interface IChapterDao {
	public boolean doCreate(Chapter chapter) throws Exception;
	public boolean doUpdate(Chapter chapter) throws Exception;
	public boolean doDelete(int cid) throws Exception;
	public List<Chapter> findAll(String keyWord, int startIndex, int count) throws Exception;
	public int count(String keyWord) throws Exception;
	public Chapter findById(int cid) throws Exception;
	public List<Chapter> findByPid(int pid) throws Exception;
}
